import request from '@/utils/request'
//获取部门
export function findDepart() {
  return request({
    url: '/exam/dept',
    method: 'get'
  })
}

//添加考试
export function save(data){
    return request({
        url:'/exam',
        method:'post',
        data
    })
}
//获取用户
export function findUser(){
    return request({
        url: '/exam/user',
        method: 'get'
    })
}
